package binary;

public class OperDemo {
    public static void main(String[] args) {
        int n = 0x67d78f6d;
        int m = n>>>1;
        int k = n>>>2;
        int g = n>>>8;
        System.out.println(Integer.toBinaryString(n));
        System.out.println(Integer.toBinaryString(m));
        System.out.println(Integer.toBinaryString(k));
        System.out.println(Integer.toBinaryString(g));











        /*
        int n = 0x179d5d9e;
        int m = 0xff;
        int k =n&m;
        int f = n|m;
        System.out.println(Integer.toBinaryString(n));
        System.out.println(Integer.toBinaryString(m));
        System.out.println(Integer.toBinaryString(k));
        System.out.println(Integer.toBinaryString(f));
        System.out.println(f);

         */
/*

        int q = 0xdd;
        int w = 0x9d00;
        int e = q|w;
        System.out.println(Integer.toBinaryString(q));
        System.out.println(Integer.toBinaryString(w));-3re
        System.out.println(Integer.toBinaryString(e));
/
 */
    }
}
